Skip to main content

STAC Collection by ID

This endpoint allows you to retrieve detailed metadata for a specific STAC Collection using its unique identifier. In this case, we will retrieve detailed metadata for Blacksky.

Each collection groups related geospatial data items (e.g., by sensor or provider) and provides information about spatial/temporal coverage, licensing, associated assets, and links to related endpoints.

Endpoint

GET /public/stac/collections/{collectionId}

Replace {collectionId} with the actual ID of the collection you want to query.

Include the following header:

x-api-key: YOUR_API_KEY

Example Request (cURL)

curl -H "x-api-key: YOUR_API_KEY" "https://giq.ae/public/stac/collections/d98629ef-58c5-9af8-714c-ac86b03fba66"

Example Response (Sample):

{
"id": "d98629ef-58c5-9af8-714c-ac86b03fba66",
"type": "Collection",
"title": "BlackSky",
"description": "Multispectral imagery from BlackSky",
"license": "proprietary",
"extent": {
"spatial": {
"bbox": [[-180.0, -90.0, 180.0, 90.0]]
},
"temporal": {
"interval": [["2024-01-01T00:00:00Z", null]]
}
},
"keywords": ["blacksky", "multispectral"],
"stac_version": "1.0.0",
"links": [
{
"rel": "self",
"href": "https://giq.ae/public/stac/collections/d98629ef-58c5-9af8-714c-ac86b03fba66",
"type": "application/json",
"title": "This Collection"
},
{
"rel": "items",
"href": "https://giq.ae/public/stac/collections/d98629ef-58c5-9af8-714c-ac86b03fba66/items",
"type": "application/geo+json",
"title": "Collection Items"
},
{
"rel": "root",
"href": "https://giq.ae/public/stac/",
"type": "application/json",
"title": "Root Catalog"
}
],
"assets": {
"thumbnail": {
"href": "https://i.imghippo.com/files/abCdEfG.png",
"type": "image/png",
"roles": ["thumbnail"],
"title": "Preview Image"
}
}
}

Response Overview

The response returns metadata for a single STAC Collection, including:

  • Unique ID and title
  • Description and licensing info
  • Spatial and temporal extent
  • Collection-specific assets
  • Navigational links to STAC Items and root catalog

Response Fields

FieldDescriptionExample
idUnique identifier of the collectiond98629ef-58c5-9af8-714c-ac86b03fba66
typeSTAC object typeCollection
titleHuman-readable name of the collectionBlackSky
descriptionDescription of the collectionMultispectral imagery from BlackSky
licenseLicensing information for the dataproprietary
extentSpatial/temporal coverage of the collectionbbox, interval
keywordsOptional tags or labels["blacksky", "multispectral"]
stac_versionSTAC specification version used1.0.0
RelDescriptionURL
selfLink to this specific collection/public/stac/collections/{collectionId}
itemsSTAC Items contained in the collection/public/stac/collections/{collectionId}/items
rootLink to the STAC root catalog/public/stac/

Assets

KeyDescriptionType
thumbnailA preview image of the collectionimage/png

Use Cases

  • Display collection-level metadata (e.g., sensor, provider)
  • Build image search filters using spatial and temporal extents
  • Navigate to items associated with the selected collection
  • Access thumbnails for visualization in dashboards or reports